package com.gsy.springboot.start.ipana.controller;

import com.gsy.springboot.start.mapper.auto.TbKafkaTopicMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@RestController
public class IPAnalysis {
    @Autowired
    TbKafkaTopicMapper kafkaTopicMapper;

    @GetMapping("/register")
    public HashMap<String,String> addTopic(){
        HashMap<String,String> hashMap = new HashMap<>();
        hashMap.put("status","success");
        hashMap.put("msg","ok");
        return hashMap;
    }
}
